package com.cloud.pole.shop.model.entity.order;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.validator.constraints.NotEmpty;

import lombok.Data;

/**
 * @author 
 */
@Table(name="shop_order_shopping_cart")
@Data
public class ShopOrderShoppingCart implements Serializable {
    /**
     * 购物车自增id
     */
    @Id
    private Integer cartId;

    /**
     * 商品id
     */
    private Integer goodsId;

    /**
     * 所购商品规格id
     */
    private Integer goodsSpecId;

    /**
     * 商品数量
     */
    private Integer productNum;

    /**
     * 买家uid
     */
    private Long userId;

    /**
       * 买家用户名
     */
    private String userName;

    
    /**
     * 分平台id,全国为"www"
     */
    private String platformId;

    /**
     * 创建时间
     */
    private Date createTime;
    
    /**
       * 店铺自增id
     */
    private Integer shopId;

    private static final long serialVersionUID = 1L;
}